﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FXPushService;

namespace UnitTestProject1
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            DataFetcher dataFetcher = new DataFetcher();
            var result= dataFetcher.GetRiver();
            Assert.IsTrue(result.success);
           
        }

        [TestMethod]
        public void TestMethod2()
        {
            DataFetcher dataFetcher = new DataFetcher();
            var result = dataFetcher.GetResinfo();
            Assert.IsTrue(result.success);

        }

        [TestMethod]
        public void TestMethod3()
        {
            DataFetcher dataFetcher = new DataFetcher();
            var result = dataFetcher.GetDayRain();
            Assert.IsTrue(result.success);

        }
    }
}
